<template>
  <div class="screen-title">
    <p>{{ title }}</p>
  </div>
</template>
<script>
export default {
  name: 'ScreenTitle',
  props: {
    title: String
  },
  data() {
    return { 

    }
  },
}
</script>
<style lang="scss" scoped>
  .screen-title {
    width: 100%;
    height: 48px;
    line-height: 48px;
    background: url('~@/assets/screen/titlebg.png') no-repeat;
    padding-left: 20px;
    p {
      color: #fff;
      font-size: $theme_font_size;
    }
  }
</style>